<rich:toolBar
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:s="http://jboss.com/products/seam/taglib"
    xmlns:rich="http://richfaces.org/rich"
    height="24px" style="valign:middle;" styleClass="estiloMenuPpal">
    
    <rich:toolBarGroup location="left">
    	<ui:include src="menu.xhtml" /> 	
    	
    </rich:toolBarGroup>
    <rich:toolBarGroup location="right" >
    <h:panelGroup rendered="#{historiaActual.pacienteActual != null}">
	    
	</h:panelGroup>
    <h:panelGroup>
    	<div align="right" style="margin-right:30px;">    		
  	  		  	
    	  	<s:link id="ctlLinkSalir" 
    	  			view="/home.xhtml" 
    	  			action="#{identity.logout}" 
    	  			value="#{messages.cerrar1}" 
    	  			rendered="#{identity.loggedIn}" 
    	  			styleClass="vinculoGenSalir"
    	  			disabled="#{menuWeb.linkSalir}"/>
    	  			
    	</div>
   	</h:panelGroup>
    </rich:toolBarGroup>    
    
</rich:toolBar>
